package co.com.jtune.view.main;

import java.awt.BorderLayout;
import java.awt.Dimension;

import javax.swing.JDialog;
import javax.swing.JFrame;
import javax.swing.JPanel;

public class JTune extends JFrame{
	
	public final static int WIDTH_FORM = 400;
	public final static int HEIGTH_FORM = 400;
	
	private PlayListPanel playListPanel;
	private MusicListPanel musicListPanel;
	private JPanel mainPanel;

	private static final long serialVersionUID = 1L;
	
	public JTune ()
	{
		this.setTitle("JTune");
		
		createView();
		
		this.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);
//		setLayout(new BorderLayout());
//		playListPanel = new PlayListPanel();
//		add(playListPanel, BorderLayout.CENTER);	
	}
	
	private void createView()
	{
		//Crea un panel principal donde se insertan los otros paneles 
		mainPanel = new JPanel();
		mainPanel.setLayout(new BorderLayout());		
		mainPanel.setPreferredSize(new Dimension(WIDTH_FORM, HEIGTH_FORM));
		
	}
}
